// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PROD_WO_TASK_DETAIL
// * CreateDate    : 2014-06-05 18:30:23
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:23
// * LastChanger   : 2014-06-05 18:30:23
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class ProdWoTaskDetailTable : TableInfo
    {
		public const string C_TableName = "PROD_WO_TASK_DETAIL";
		
		public const string C_ID = "ID";
		public const string C_WO_NO = "WO_NO";
		public const string C_SEQUENCE = "SEQUENCE";
		public const string C_TECHNIC_ID = "TECHNIC_ID";
		public const string C_USER_NO = "USER_NO";
		public const string C_START_TIME = "START_TIME";
		public const string C_END_TIME = "END_TIME";
		public const string C_WORKGROUP_NO = "WORKGROUP_NO";
		public const string C_STATUS = "STATUS";
		public const string C_PROD_INDEX = "PROD_INDEX";
		public const string C_PLAN_ORDER = "PLAN_ORDER";
		
		public ProdWoTaskDetailTable()
        {
            _tableName = "PROD_WO_TASK_DETAIL";
        }
		
		protected static ProdWoTaskDetailTable _current;
        public static ProdWoTaskDetailTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new ProdWoTaskDetailTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_WO_NO, new ColumnInfo(C_WO_NO,"WoNo", false, typeof(string)));
            _current.Add(C_SEQUENCE, new ColumnInfo(C_SEQUENCE,"Sequence", false, typeof(int)));
            _current.Add(C_TECHNIC_ID, new ColumnInfo(C_TECHNIC_ID,"TechnicId", false, typeof(string)));
            _current.Add(C_USER_NO, new ColumnInfo(C_USER_NO,"UserNo", false, typeof(string)));
            _current.Add(C_START_TIME, new ColumnInfo(C_START_TIME,"StartTime", false, typeof(DateTime)));
            _current.Add(C_END_TIME, new ColumnInfo(C_END_TIME,"EndTime", false, typeof(DateTime)));
            _current.Add(C_WORKGROUP_NO, new ColumnInfo(C_WORKGROUP_NO,"WorkgroupNo", false, typeof(string)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
            _current.Add(C_PROD_INDEX, new ColumnInfo(C_PROD_INDEX,"ProdIndex", false, typeof(int)));
            _current.Add(C_PLAN_ORDER, new ColumnInfo(C_PLAN_ORDER,"PlanOrder", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo WO_NO
        {
            get { return this[C_WO_NO]; }
        }
		
		public ColumnInfo SEQUENCE
        {
            get { return this[C_SEQUENCE]; }
        }
		
		public ColumnInfo TECHNIC_ID
        {
            get { return this[C_TECHNIC_ID]; }
        }
		
		public ColumnInfo USER_NO
        {
            get { return this[C_USER_NO]; }
        }
		
		public ColumnInfo START_TIME
        {
            get { return this[C_START_TIME]; }
        }
		
		public ColumnInfo END_TIME
        {
            get { return this[C_END_TIME]; }
        }
		
		public ColumnInfo WORKGROUP_NO
        {
            get { return this[C_WORKGROUP_NO]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		public ColumnInfo PROD_INDEX
        {
            get { return this[C_PROD_INDEX]; }
        }
		
		public ColumnInfo PLAN_ORDER
        {
            get { return this[C_PLAN_ORDER]; }
        }
		
		
		
	}
}

